package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.mapper.DtsCartMapper;
import com.qf.pojo.DtsCategory;

import java.util.List;

public interface CategoryService {
    public List<DtsCategory> selectById(DtsCategory category);
    public List<DtsCategory> selectByPid();

    public int add(DtsCategory category);

    public int update(DtsCategory category);

    public void deleteById(DtsCategory category);

    public IPage<DtsCategory> findByPage(Integer page,Integer limit,Integer id,String name,String sort,String order);
}
